
if(NOT MICRO_MODEL_NAME OR NOT MICRO_DATA_NAME)
  message(FATAL_ERROR "MICRO_MODEL_NAME or MICRO_DATA_NAME is undefined")
endif()

add_executable(${MICRO_MODEL_NAME} main.cc)
target_compile_options(${MICRO_MODEL_NAME} PRIVATE "-Wno-error")
target_link_libraries(${MICRO_MODEL_NAME} model_${MICRO_MODEL_NAME} micro)
target_compile_definitions(${MICRO_MODEL_NAME} PRIVATE "-DMICRO_MODEL_NAME=${MICRO_MODEL_NAME}")
target_compile_definitions(${MICRO_MODEL_NAME} PRIVATE "-DMICRO_DATA_NAME=${MICRO_DATA_NAME}")
